from utils import tokens


def status(request):
    status = tokens.Token.check_token(
        token=request.headers.get('token')
    )
    if status:
        return status
    else:
        return False
